home *** CD-ROM | disk | FTP | other *** search
/ Mission to McDonaldLand / Mission To McDonaldLand.iso / crystal.dxr / 00106_Script_106 < prev    next >
Text File  |  1998-10-27  |  618b  |  22 lines

  1. on enterFrame me
  2.   global runto
  3.   global Grunto
  4.   global Cface
  5.   global Gface
  6.   global myturn
  7.   
  8.   if the loc of sprite 30 = the loc of sprite the spritenum of me and (myturn = 2 or myturn = 3) then 
  9.     set Cface = 4
  10.     set runto = runto - the locV of sprite 30
  11.     set runto = runto * -1
  12.     set runto = runto + the locH of sprite 30
  13.   end if
  14.   if the loc of sprite 29 = the loc of sprite the spritenum of me then 
  15.       set Gface = 4
  16.       set Grunto = Grunto - the locV of sprite 29
  17.       set Grunto = Grunto * -1
  18.       set Grunto = Grunto + the locH of sprite 29
  19.     end if
  20.     
  21.   end if
  22. end